package hm.telephoneoperator;

import java.util.Comparator;

public class ContactPhoneComparator implements Comparator<ContactPhone> {

	@Override
	public int compare(ContactPhone p1, ContactPhone p2) {		
		return p1.getPhone().toString().compareTo(p2.getPhone().toString());
	}

}
